import { ImageSourcePropType } from 'react-native'
import OwlWaterfall from '../../component/common/owlWaterfall'
import video from '../../assets/data/video'
import VideoWrap from '../../component/home/videoWrap'
export default function ChildGoodTab() {
  return (
    <OwlWaterfall
      data={video}
      renderItem={(item: any, onLayout) => {
        const cover: ImageSourcePropType = {
          uri: item.cover,
        }
        return <VideoWrap {...item} cover={cover} onLayout={onLayout} />
      }}
    />
  )
}
